package org.small.shop.phone.api.process.orders.pojo;

import java.math.BigDecimal;
import java.util.List;

import org.small.shop.phone.api.utils.format.FormatUtils;

public class OrderListVo {
	/**
	 * 订单id
	 */
	private String ordId;

	/**
	 * 订单编号
	 */
	private String ordNum;

	/**
	 * 实际订单总金额，进行各种折扣之后的金额
	 */
	private BigDecimal ordRealtotalmoney;

	/**
	 * -3用户拒收 -2：未付款的订单 -1：用户取消 0：待发货 1：配送中 2：用户确认收货
	 */
	private Integer ordStauts;

	private String ordStautsView;

	/**
	 * 是否支付，0：未支付 1：已支付
	 */
	private Integer ordIspay;

	/**
	 * 运费
	 */
	private BigDecimal ordDelivermoney;

	/**
	 * 下单时间
	 */
	private Long ordCreatetime;
	private String ordCreatetimeView;

	/**
	 * -2 ：订单为删除,-1：可退款 1：不可退款
	 */
	private Integer ordDataflag;

	/**
	 * 否是退款（0：否 1：是）
	 */
	private Integer ordIsrefund;

	/**
	 * 0：未完结 1：已完结
	 */
	private Integer ordIsclosed;

	/**
	 * 0：未点评 1：已点评
	 */
	private Integer ordIsappraise;

	private Integer totalNums;

	private List<OrderGoodsInfo> goodsInfoList;

	public List<OrderGoodsInfo> getGoodsInfoList() {
		return goodsInfoList;
	}

	public void setGoodsInfoList(List<OrderGoodsInfo> goodsInfoList) {
		this.goodsInfoList = goodsInfoList;
	}

	public String getOrdId() {
		return ordId;
	}

	public void setOrdId(String ordId) {
		this.ordId = ordId;
	}

	public String getOrdNum() {
		return ordNum;
	}

	public void setOrdNum(String ordNum) {
		this.ordNum = ordNum;
	}

	public BigDecimal getOrdRealtotalmoney() {
		return ordRealtotalmoney;
	}

	public void setOrdRealtotalmoney(BigDecimal ordRealtotalmoney) {
		this.ordRealtotalmoney = ordRealtotalmoney;
	}

	public Integer getOrdStauts() {
		return ordStauts;
	}

	public void setOrdStauts(Integer ordStauts) {
		this.ordStauts = ordStauts;
	}

	public Integer getOrdIspay() {
		return ordIspay;
	}

	public void setOrdIspay(Integer ordIspay) {
		this.ordIspay = ordIspay;
	}

	public BigDecimal getOrdDelivermoney() {
		return ordDelivermoney;
	}

	public void setOrdDelivermoney(BigDecimal ordDelivermoney) {
		this.ordDelivermoney = ordDelivermoney;
	}

	public Long getOrdCreatetime() {
		return ordCreatetime;
	}

	public void setOrdCreatetime(Long ordCreatetime) {
		if (ordCreatetime != null) {
			this.ordCreatetimeView = FormatUtils.getFormatDateTime(ordCreatetime);
		}
		this.ordCreatetime = ordCreatetime;
	}

	public String getOrdCreatetimeView() {
		return ordCreatetimeView;
	}

	public void setOrdCreatetimeView(String ordCreatetimeView) {
		this.ordCreatetimeView = ordCreatetimeView;
	}

	public Integer getOrdDataflag() {
		return ordDataflag;
	}

	public void setOrdDataflag(Integer ordDataflag) {
		this.ordDataflag = ordDataflag;
	}

	public String getOrdStautsView() {
		return ordStautsView;
	}

	public void setOrdStautsView(String ordStautsView) {
		this.ordStautsView = ordStautsView;
	}

	public Integer getOrdIsrefund() {
		return ordIsrefund;
	}

	public void setOrdIsrefund(Integer ordIsrefund) {
		this.ordIsrefund = ordIsrefund;
	}

	public Integer getOrdIsclosed() {
		return ordIsclosed;
	}

	public void setOrdIsclosed(Integer ordIsclosed) {
		this.ordIsclosed = ordIsclosed;
	}

	public Integer getOrdIsappraise() {
		return ordIsappraise;
	}

	public void setOrdIsappraise(Integer ordIsappraise) {
		this.ordIsappraise = ordIsappraise;
	}

	public Integer getTotalNums() {
		return totalNums;
	}

	public void setTotalNums(Integer totalNums) {
		this.totalNums = totalNums;
	}

}
